//
//  HJAppTotalKey.swift
//  Micro-blog Sina
//
//  Created by admin on 16/3/21.
//  Copyright © 2016年 admin. All rights reserved.
//

import UIKit

func HJPrint(file: String = __FILE__, line: Int = __LINE__, function: String = __FUNCTION__, msg: Any) {
    #if DEBUG
        print("\((file as NSString).lastPathComponent)[\(line)行], \(function): \(msg)")
    #endif
}

// Appkey
let client_id = "3251666736"
// App Secret
let client_secret = "d131acc0b48a30e49f061539c518d0db"
// Authorized callback address
let redirect_uri = "http://romantichj.github.io/"

let HJDefaultDuration: NSTimeInterval = 0.25

let HJNewFeatuerPageCount = 4

// MARK: - 微博cell相关
let HJStatusCellMargin: CGFloat = 8

let HJStatusCellContentSize: CGFloat = 14

let HJStatusCellBottomDefaultFontSize: CGFloat = 11

let HJStatusPictureViewCellMargin: CGFloat = 5

let HJStatusPictureMaxColumn = 3

let HJStatusPictureCellWH: CGFloat = (UIScreen.width - 2 * HJStatusCellMargin - (CGFloat(HJStatusPictureMaxColumn) - 1) * HJStatusPictureViewCellMargin) / CGFloat(HJStatusPictureMaxColumn)

let HJStatusPictureViewItemSize = CGSize(width: HJStatusPictureCellWH, height: HJStatusPictureCellWH)
